from django.contrib.gis import admin
from models import *

class PointOfInterestAdmin(admin.GeoModelAdmin):
    # Default GeoDjango OpenLayers map options
    scrollable = False
    map_width = 600
    map_height = 300
    
admin.site.register(MapTag)
admin.site.register(MapKey)
admin.site.register(StaticMapLayer)
admin.site.register(Map)
admin.site.register(Route, admin.GeoModelAdmin) #was OSMGeoAdmin
admin.site.register(Area, admin.GeoModelAdmin)
admin.site.register(Photo, admin.GeoModelAdmin)
admin.site.register(PointOfInterest, PointOfInterestAdmin)
admin.site.register(TrackPoint)
